#!/bin/bash
workdir="/home/ceph-deploy.d"
cephlist="${workdir}/cephlist.txt"
for ip in $(cat $cephlist);do 
    echo -----$ip-----
    ssh root@$ip sh ${workdir}/do_parted.sh
done
